/* 右侧固定按钮样式 - 使用深蓝色调 */
.mode-switcher {
    position: fixed;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    z-index: 1050;
    writing-mode: vertical-lr;
    text-orientation: mixed;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 160px;
    padding: 0 8px;
    border-radius: 6px 0 0 6px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.mode-switcher:hover {
    transform: translateY(-50%) translateX(-10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

/* 编辑模式使用协调的深蓝色 */
.mode-switcher.edit-mode {
    background: linear-gradient(45deg, #3498db 0%, #2c3e50 100%);
}

/* 展示模式使用青绿色调 */
.mode-switcher.show-mode {
    background: linear-gradient(45deg, #27ae60 0%, #1a75bc 100%);
}

.mode-switcher::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(-50%, -50%) rotate(45deg);
    width: 18px;
    height: 18px;
    background: inherit;
}

.mode-switcher i {
    margin-left: 5px;
    font-size: 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.feature {
    text-align: center;
    padding: 25px 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 3px solid #2ecc71;
}

.feature:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 42px;
    color: #27ae60;
    margin-bottom: 20px;
}

.feature h4 {
    color: #2c3e50;
    margin-bottom: 12px;
}

/* 状态指示器 */
.status-indicator {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    color: white;
}

/* 编辑模式使用蓝色 */
.indicator-edit {
    background: linear-gradient(45deg, #3498db, #2c3e50);
}

/* 展示模式使用青绿色 */
.indicator-show {
    background: linear-gradient(45deg, #27ae60, #1a75bc);
}

.feature-grid-content {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.content-box {
    flex: 1;
    min-width: 250px;
    padding: 20px;
    border-radius: 8px;
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .container {
        padding: 20px;
        margin: 10px auto;
    }

    .header-section h1 {
        font-size: 28px;
    }

    .mode-switcher {
        height: 120px;
        font-size: 16px;
        padding: 0 6px;
    }
}